package com.ncd.disease.domain;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.FastjsonTypeHandler;
import com.ncd.common.annotation.Excel;
import com.ncd.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * 病人既往史对象 ret_patient_info
 * 
 * @author zhouxin
 * @date 2024-03-08
 */
@Data
@TableName(value = "ret_patient_info",autoResultMap = true)
public class RetPatientInfo
{
    private static final long serialVersionUID = 1L;


    @TableId(value = "pati_id",type = IdType.AUTO)
    private Long patiId;

    /** 患者id */
    private Long patId;

    /** 疾病id */
    private Long patiDiaId;

    /** 就诊类型 */
    private String patiAdmType;

    /** 呼吸系统症状 */
    @TableField(typeHandler = FastjsonTypeHandler.class)
    private JSONObject patiBreath;

    /** 既往曾使用药物 */
    @TableField(typeHandler = FastjsonTypeHandler.class)
    private JSONObject patiDrug;

    /** 既往就诊记录 */
    @TableField(typeHandler = FastjsonTypeHandler.class)
    private JSONObject patiAdm;

    /** 既往急性加重史 */
    @TableField(typeHandler = FastjsonTypeHandler.class)
    private JSONObject patiEm;

    /** 初步评估 */
    @TableField(typeHandler = FastjsonTypeHandler.class)
    private JSONObject patiPreAssess;

    /** 康复评估 */
    @TableField(typeHandler = FastjsonTypeHandler.class)
    private JSONObject patiKfAssess;

    /** 治疗计划 */
    @TableField(typeHandler = FastjsonTypeHandler.class)
    private JSONObject patiPlan;

    /** 急诊就诊记录 */
    @TableField(typeHandler = FastjsonTypeHandler.class)
    private JSONObject patiEmAdm;

    /** 哮喘史 */
    @TableField(typeHandler = FastjsonTypeHandler.class)
    private JSONObject patiAsthma;

}
